package cate.common.table.show.heroskin.sheet;

import cate.common.table.ESheet;
import cate.common.table.show.heroskin.row.HeroSkinLevelRow;

public class HeroSkinLevelSheet extends ESheet<HeroSkinLevelRow> {
    @Override
    public String getSheetName() {
        return "时装升级";
    }

    public HeroSkinLevelRow getLevelRow(int tid, int level) {
        return getList().stream().filter(e -> e.skinId == tid && e.level == level).findAny().orElse(null);
    }
}
